//
//  NativeUniBridge.h
//  flutter_uniapp_plugin
//
//  Created by qiujun on 2022/9/27.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>

NS_ASSUME_NONNULL_BEGIN

/// UinMPSDK Core 库的版本号 (由于Uni 官方没有统一维护这个版本号, 官方说法是: 子依赖库太多, 暂时性没对外统一
///  业务方自己根据SDK版本,在代码层面定义维护好,方便版本比对,检查兼容性)
///
FOUNDATION_EXPORT NSString * const DCUniMPVersion;

@interface NativeUniBridge : NSObject


+(void)openMiniAPP:(NSDictionary *)dict result:(FlutterResult)result;

+ (void) getUniMPSDKVersion: (NSDictionary *)dict;

+ (void) canOpenMiniAPP: (NSDictionary *)dict;

+ (void) sentMessageToMiniAPP: (NSDictionary *)dict;

+ (void) receiveMessageFromMiniAPP: (NSDictionary *)dict;

@end

NS_ASSUME_NONNULL_END
